移动端的一些常用css的设置

在平时移动端开发的时候,终结了一些很好用的css样式设置

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
html,body, ul,li, h1, h2, h3, h4, h5, h6, p, ol, input{
margin: 0;
padding: 0
}
ul,li, ol{
list-style: none;
}
i{ font-style: normal; }
body {
font-family: Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", sans-self;
}
input{
-webkit-appearance: none;
outline: none
}
a,
input {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
a{
text-decoration: none;
}
::-webkit-input-placeholder {
color: mediumvioletred;
text-indent: 5px;
}
文章目录
|